<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/*
 * @author	:	Nguyen Viet Manh
 * @email	:	manhnv85@gmail.com
 * @date	:	17.03.2012
 */

require_once 'client'.EXT;

class Products extends Client {

	function __construct()
	{
		parent::__construct();
        $this->data['current']      =   'home';		
        $this->load->library(array("form_validation","Message","pagination"));
		$this->load->helper(array('custom_string','form'));
	}
	
	function index()
	{		
        $this->data['tpl_file']		=	'products/index';
		$this->load->view('layout/default',$this->data);
    }
    
    function view($cat_link = '', $album_link = '')
	{
        $this->data['tpl_file']		=	'products/view';
		$this->load->view('layout/default',$this->data);
    }
 
 }